package com.company.class11;

import com.company.class10.Animal;
import com.company.class10.Cat;
import com.company.class10.Dog;

/**
 * @Classname FeedTest
 * @Description 类型说明
 * @Date 2022/5/6 23:11
 * @Created by zbw
 */

public class FeedTest {
    public static void main(String[] args) {
        Feeder zbw = new Feeder();
        Animal ad = new Dog();
        Animal ac = new Cat();

        zbw.feed(ad, "鱼");
        zbw.feed(ac, "肉鱼");
    }
}
